namespace Radius.NET.Interface.Entity
{
    /// <summary>
    /// 
    /// </summary>
    [Tenant(DbConfigIdConst.QyjConfigId), NotTable]
    [SugarTable("pu_orders")]
    public class PuOrders
    {
        /// <summary>
        /// 
        /// </summary>
        public PuOrders()
        {
        }

        /// <summary>
        /// 合同编码
        ///
        /// </summary>
        [SugarColumn(IsPrimaryKey = true)]
        public System.String OrderID { get; set; }

        /// <summary>
        /// 供应商编号
        ///
        /// </summary>
        public System.String ContactNum { get; set; }

        /// <summary>
        /// 合同日期
        ///
        /// </summary>
        public System.DateTime? OrderDate { get; set; }

        /// <summary>
        /// 交货时间
        ///
        /// </summary>
        public System.DateTime? DueDate { get; set; }

        /// <summary>
        /// 送货地址
        ///
        /// </summary>
        public System.String ShipTOAddress { get; set; }

        /// <summary>
        /// 支付方式
        ///
        /// </summary>
        public System.String Payment { get; set; }

        /// <summary>
        /// 备注
        ///
        /// </summary>
        public System.String Summary { get; set; }

        /// <summary>
        /// 记帐人
        ///
        /// </summary>
        public System.String Poster { get; set; }

        /// <summary>
        /// 货币类型
        ///
        /// </summary>
        public System.String CurrencyType { get; set; }

        /// <summary>
        /// 已关闭
        ///
        /// </summary>
        public System.Int32? Closed { get; set; }

        /// <summary>
        /// 已记帐
        ///
        /// </summary>
        public System.Int32? Posted { get; set; }

        /// <summary>
        /// 税率
        ///
        /// </summary>
        public System.Double? TaxRate { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.String YLYQ { get; set; }

        /// <summary>
        /// 大写金额
        ///
        /// </summary>
        public System.String DXJE { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.String QDDD { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.String S1 { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.String S2 { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.String S3 { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.String S4 { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.String S5 { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.String S6 { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.String S7 { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.String S8 { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.String S9 { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.String S10 { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.String S11 { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.String S12 { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.String S13 { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.String ISONO { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.String EndMark { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.String GF_FRDB { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.String GF_DLR { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.String GF_DH { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.String GF_YH { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.String GF_ZH { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.String XF_FRDB { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.String XF_DLR { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.String XF_DH { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.String XF_YH { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.String XF_ZH { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.Int32? NYear { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.Int32? NMonth { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.String Maker { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.String Pur { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.Int32? Verfied { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.String Verfier { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.String Dept { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.String OrderMan { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.Int32? PurExpenseFlag { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.DateTime? CreateDate { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.Int32? POType { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.Int32? IsPriceEdit { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.String ReasonID { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.String ReDeptID { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.String TaxType { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.Int32? PuType { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.String ProjectID { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.String ProjectTask { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.Int32? TbState { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.Int32? Type { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.String InvoiceType { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.Int32? IsIQC { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.Int32? IsQC { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.Int32? IsIncome { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.String IQCNo { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.String QCNo { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.String IncomeNo { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.Int32? _cid { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.String Verifsummary { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.DateTime? Verifdate { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.DateTime? Verfidate { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.String Verfisummay { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.String CF01 { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.String CF02 { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.String CF03 { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.String CF04 { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.String CF05 { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.String CF06 { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.String CF07 { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.String CF08 { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.String CF09 { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public System.String CF10 { get; set; }

        public int FInterID { get; set; }
        


        /// <summary>
        /// 采购订单子表导航
        /// </summary>
        [Navigate(NavigateType.OneToMany,nameof(OrderID)),SugarColumn(IsIgnore =true)]
        public List<PuOrderDetail> FG_PuOrderDetail{ get; set; }
    }
}